package com.zhala.framework.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@ConfigurationProperties(prefix = "url-ignore")
@Configuration
public class UrlIgnoreProperties {

    private List<String> urls;

    public String [] getUrls() {
        return urls.toArray(new String[0]);
    }

    public void setUrls(List<String> urls) {
        this.urls = urls;
    }
}
